package test03;

public class Test {
    public static void main(String[] args) {
//        A a = new Student();        // 父类引用子类对象
        Student s = new A();
        Singer s1 = new A();
        Dirver s3 = new A();
    }
}

class A extends Student implements Singer,Dirver{

}


class Student{

}

interface Singer{

}
interface Dirver{

}
